package net.ericaro.neojavagen.classes;

/**
 * <b>VoidMethodDeclarator</b> ::= "void" <{@link net .ericaro .neojavagen .classes .MethodDeclarator MethodDeclarator}>
 * 
 * @author eric@ericaro.net
 */
public class VoidMethodDeclarator extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.classes.TypedMethodDeclarator {
	private net.ericaro.neojavagen.classes.MethodDeclarator methodDeclarator;

	public VoidMethodDeclarator(net.ericaro.neojavagen.classes.MethodDeclarator methodDeclarator) {
		super();
		this.methodDeclarator = methodDeclarator;
	}

	public net.ericaro.neojavagen.classes.MethodDeclarator getMethodDeclarator() {
		return methodDeclarator;
	}

	public void setMethodDeclarator(net.ericaro.neojavagen.classes.MethodDeclarator methodDeclarator) {
		this.methodDeclarator = methodDeclarator;
	}

	@Override
	public java.lang.String toString() {
		return print("void", methodDeclarator);
	}
}
